<?php
/**
 * Created by PhpStorm.
 * User: JunHui.Li
 * Date: 15-2-5
 * Time: 上午11:52
 */

class pa_printDimensionalCode{

    public  function  execute(){
        global $G_SHOP ;

        if (isset($_REQUEST['operFlg'])) {

            switch($_REQUEST['operFlg']) {

                case 1:
                    $this->printsCodes();
                    break;
                default:
                    $G_SHOP->smarty->display('comm/error.tpl');
            }
        }



    }
    /*
     * 二维码打印
     *
      */

    public function printsCodes(){
        global $G_SHOP;


        $send_date=date("Y-m-d",time());
        $G_SHOP->smarty->assign('send_date', $send_date);
        $G_SHOP->smarty->display('production/printCode.tpl');



    }


}